package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.model.Product;
import com.example.model.Result;
import com.example.model.UserOwn;
import com.example.modelDTO.UserOwnDTO;

import java.time.LocalDateTime;
import java.util.List;

public interface IUserOwnService extends IService<UserOwn> {

    public Result<Integer> createUserOwn(Integer productId, Integer userId);
    public List<UserOwnDTO> getByUserId(int userId);
    Boolean updateByUserOwnId(Integer userOwnId);
}
